<?php


namespace app\api\validate;


use think\Validate;

class ReserveCourseValidate extends Validate
{
    protected $rule = [
        'course_id' => 'require',
        'date' => 'require',
        'time' => 'require'
    ];

    protected $message = [
        'course_id.require' => '课表ID不能为空',
        'date.require' => '日期不能为空',
        'time.require' => '时间不能为空'
    ];
}